// 报告管理（查询、导出）
import request from './request'

// 获取报告列表
export const getReportList = (params) => {
  return request.get('/report/list/', { params })
}

// 获取报告详情
export const getReportDetail = (id) => {
  return request.get(`/report/${id}/`)
}

// 下载报告
export const downloadReport = (id) => {
  return request.get(`/report/${id}/download/`, {
    responseType: 'blob'
  })
}